package com.team5101.dao;

import java.util.List;
import com.team5101.entity.Cart;
import com.team5101.entity.CartDTO;
import com.team5101.entity.VO.SeatInfoVO;

public interface ICartDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Cart record);

    int insertSelective(Cart record);

    Cart selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Cart record);

    int updateByPrimaryKey(Cart record);

    // 未写sql
    List<CartDTO> quryUserCartDTO(Integer uid);

    int   deleteByCartId(Integer cId);

    int   addCart(Cart cart);


}
